/**
 * 
 */
package com.zhaokuo.search;

import java.sql.SQLException;

/**
 * @author SSH 2012-5-17
 * 
 */
public class Test {
	public static void main(String[] args) throws SQLException {
		String url1 ="http://blog.csdn.net/mobile/index.html";
		String url2 ="http://blog.csdn.net/web/index.html";
		String url3 ="http://blog.csdn.net/enterprise/index.html";
		String url4 ="http://blog.csdn.net/code/index.html";
//		String url1 = "http://www.oschina.net/code/explore/armadillo-1.0.0/LICENSE.txt";
//		String url2 = "http://www.oschina.net/code/explore/activemq-5.4.2/README.txt";
		UrlQueue.addElem(url1);
		UrlQueue.addElem(url2);
		UrlQueue.addElem(url3);
		UrlQueue.addElem(url4);

		UrlDataHanding[] url_Handings = new UrlDataHanding[10];

		for (int i = 0; i < 10; i++) {
			url_Handings[i] = new UrlDataHanding();
			new Thread(url_Handings[i]).start();
		}

	}
}
